<?php

namespace app\api\controller;

use app\common\controller\Api;
use think\Db;

/**
 * 首页接口
 */
class Index extends Api
{
    protected $noNeedLogin = ['*'];
    protected $noNeedRight = ['*'];

    /**
     * 首页 123
     *
     */
    public function index()
    {
        $this->success('请求成功!'.date('Y-m-d'));
    }


    public function show()
    {

        //1 发布  0  审核
        $this->success('展示？!',['show'=>1]);
    }


}













